package com.xjrsoft.module.oa.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 文件夹表
 * </p>
 *
 * @author zwq
 * @since 2021-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("xjr_oa_filefolder")
public class XjrOaFilefolder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 文件夹主键
     */
    @TableId("F_FolderId")
    private String id;

    /**
     * 父级主键
     */
    @TableField("F_ParentId")
    private String parentId;

    /**
     * 文件夹类型
     */
    @TableField("F_FolderType")
    private String folderType;

    /**
     * 文件夹名称
     */
    @TableField("F_FolderName")
    private String folderName;

    /**
     * 共享
     */
    @TableField("F_IsShare")
    private Integer isShare;

    /**
     * 共享连接
     */
    @TableField("F_ShareLink")
    private String shareLink;

    /**
     * 共享提取码
     */
    @TableField("F_ShareCode")
    private Integer shareCode;

    /**
     * 共享日期
     */
    @TableField("F_ShareTime")
    private Date shareTime;

    /**
     * 排序码
     */
    @TableField("F_SortCode")
    private Integer sortCode;

    /**
     * 删除标记
     */
    @TableField(value = "F_DeleteMark", fill = FieldFill.INSERT)
    @TableLogic
    private Integer deleteMark;

    /**
     * 有效标志
     */
    @TableField(value = "F_EnabledMark", fill = FieldFill.INSERT)
    private Integer enabledMark;

    /**
     * 备注
     */
    @TableField("F_Description")
    private String description;

    /**
     * 创建日期
     */
    @TableField(value = "F_CreateDate", fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    /**
     * 创建用户主键
     */
    @TableField(value = "F_CreateUserId", fill = FieldFill.INSERT)
    private String createUserId;

    /**
     * 创建用户
     */
    @TableField(value = "F_CreateUserName", fill = FieldFill.INSERT)
    private String createUserName;

    /**
     * 修改日期
     */
    @TableField(value = "F_ModifyDate", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyDate;

    /**
     * 修改用户主键
     */
    @TableField(value = "F_ModifyUserId", fill = FieldFill.INSERT_UPDATE)
    private String modifyUserId;

    /**
     * 修改用户
     */
    @TableField(value = "F_ModifyUserName", fill = FieldFill.INSERT_UPDATE)
    private String modifyUserName;


}
